uses os.remove(fd) to close tmp file and change of error messages
Merge https://github.com/simonbavink/bepasty-server
Merge branch 'master' of github.com:bepasty/bepasty-server