Fixed a bug when 'dir' equals ''. Filename's first character was truncated.
Fixed a bug when 'dir' equals ''. Filename's first character was truncated.


akretion/openerp-server,akretion/openerp-server,akretion/openerp-server