bin file generating error fix

Fix the bin file generating problem when the working direction contains
space like c:\My Documents/